package com.foreknow.demo2.Test1;

public class Print implements InterfaceA,InterfaceB{
    @Override
    public void printCapitalLetter() {
        int a =65;
        String[] capital = new String[26];
        for (int i = 0; i < capital.length;i++){
            char b = (char)a;
            capital[i] = String.valueOf(b);
            a++;

        }
        for (int i = 1;i<=capital.length;i++){
            System.out.print(capital[i-1]+"\t");
            if (i%7 == 0)
                System.out.println();
        }
        System.out.println();
    }

    @Override
    public void printLowercaseLetter() {
        int a =97;
        String[] lowercase = new String[26];
        for (int i = 0; i < lowercase.length;i++){
            char b = (char)a;
            lowercase[i] = String.valueOf(b);
            a++;

        }
        for (int i = 1;i<=lowercase.length;i++){
            System.out.print(lowercase[i-1]+"\t");
            if (i%7 == 0)
                System.out.println();
        }
    }

    public static void main(String[] args) {

    }
}
